<?php function _tag_phpcms_tag_content_down($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<dl class="down_list">
  <dt><a href="<?php echo $r['url'];?>" target="<?php echo $target;?>"><?php if($r[style]) { ?><span class="<?php echo $r['style'];?>"><?php echo $r['title'];?></span><?php } else { ?><?php echo $r['title'];?><?php } ?></a></dt>
  <dd class="down_txt"><?php echo str_cut(strip_tags($r[content]),300);?></dd>
  <dd class="down_attribute align_r"><span class="icon_1">软件大小：<?php echo $r['filesize'];?></span><span class="icon_3">星级：<?php echo $r['stars'];?></span><span class="icon_4">更新时间：<?php echo date('Y-m-d',$r[updatetime]);?></span></dd>
</dl>
<?php } ?>
<?php if($pages) { ?><div id="pages"><?php echo $pages;?></div><?php } ?><?php } ?>